package com.ptu.dto;

import lombok.Data;

@Data
public class UserLoginDTO {
    private String phone;
    private String code;
    private String captcha;

    public UserLoginDTO() {
    }

    public UserLoginDTO(String phone, String code, String captcha) {
        this.phone = phone;
        this.code = code;
        this.captcha = captcha;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    @Override
    public String toString() {
        return "UserLoginDTO{" +
                "phone='" + phone + '\'' +
                ", code='" + code + '\'' +
                ", captcha='" + captcha + '\'' +
                '}';
    }
}
